#!/bin/sh
cd ..
echo "Killing of process `ps -aef | grep helloseries-server.jar | grep -v grep | awk '{print $2}'`"
kill -9 `ps -aef | grep helloseries-server.jar | grep -v grep | awk '{print $2}'` > /dev/null
nohup java -jar helloseries-server.jar > /dev/null 2>&1 & 
cd scripts